package com.example.redstarcommerce.cn.dh.shop.service;

import com.example.redstarcommerce.cn.dh.common.vo.Result;
import com.example.redstarcommerce.cn.dh.shop.pojo.Shop;

import java.util.List;

/**
 * @ClassName ShopService
 * @Author AndyWu
 * @Date 2024-11-01 22:36
 * @Motto 学不死就往死里学
 * @Version 1.0
 */

public interface ShopService {
    public Result<List<Shop>> getAll();
    public Result<Boolean> insertShop(String name,String type,String introduce,Float price);
    public Result<Boolean> updateShop(String uid,String name,String type,String introduce,Float price,Double scoer,Integer scoernumber);
    public Result<Boolean> deleteShop(String uid);
}
